# 测试用例类
import unittest
from time import sleep
from HTMLTestRunner import HTMLTestRunner

from rk_lianxi.rk_11.Page import Page
from selenium import webdriver
from BeautifulReport import BeautifulReport

class TestCase(unittest.TestCase):
    def setUp(self):
        self.driver = webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self):
        sleep(5)
        self.driver.quit()

    def test_A3mall_01(self):
        p = Page(self.driver)
        p.open_url('http://10.59.9.12:7001/')
        p.test_A3mall_luoji1()

if __name__ == '__main__':
    unittest.main()


